/**
 * Project Name:JingZhenGu
 * File Name:City.java
 * Package Name:com.gc.jingzhengu.vo
 * Date:2014-6-17上午11:06:18
 * Copyright (c) 2014, wangyd523@gmail.com All Rights Reserved.
 *
 */

package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;
import android.os.Parcelable;

import com.jzg.jcptadmin.base.BaseObject;

/**
 * ClassName:City <br/>
 * Function: 城市实体. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2014-6-17 上午11:06:18 <br/>
 * 
 * @author 汪渝栋
 * @version
 * @since JDK 1.6
 * @see
 */
public class City extends BaseObject implements Parcelable
{
	private int Id;

	private String Name;

	private String ProvinceId;

	private int FontColor;

	private int ItemColor;

	public int getFontColor() {
		return FontColor;
	}

	public void setFontColor(int fontColor) {
		FontColor = fontColor;
	}

	public int getId() {
		return Id;
	}

	public void setId(int id) {
		Id = id;
	}

	public int getItemColor() {
		return ItemColor;
	}

	public void setItemColor(int itemColor) {
		ItemColor = itemColor;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getProvinceId() {
		return ProvinceId;
	}

	public void setProvinceId(String provinceId) {
		ProvinceId = provinceId;
	}

	@Override
	public String toString() {
		return "City{" +
				"FontColor=" + FontColor +
				", Id=" + Id +
				", Name='" + Name + '\'' +
				", ProvinceId='" + ProvinceId + '\'' +
				", ItemColor=" + ItemColor +
				'}';
	}


	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		super.writeToParcel(dest, flags);
		dest.writeInt(this.Id);
		dest.writeString(this.Name);
		dest.writeString(this.ProvinceId);
		dest.writeInt(this.FontColor);
		dest.writeInt(this.ItemColor);
	}

	public City() {
	}

	protected City(Parcel in) {
		super(in);
		this.Id = in.readInt();
		this.Name = in.readString();
		this.ProvinceId = in.readString();
		this.FontColor = in.readInt();
		this.ItemColor = in.readInt();
	}

	public static final Creator<City> CREATOR = new Creator<City>() {
		public City createFromParcel(Parcel source) {
			return new City(source);
		}

		public City[] newArray(int size) {
			return new City[size];
		}
	};
}
